package com.igeek.boot.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.igeek.boot.entity.Assets;
import com.igeek.boot.vo.PageQueryVO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 * @since 2023-12-22
 */
public interface IAssetsService extends IService<Assets> {
    List<Assets> findAll();

    Page<Assets> findPage(PageQueryVO pageQueryVO);

    Assets findOneById(Integer id);

    boolean add(Assets assets);

    List<Assets> findAllByShelfId(Integer id);

    Assets selectByShelfIdAndNameType(Integer shelfID, String incomingName, String incomingType);
}
